
exports.insert = 'insert into c_swiper set ?';

exports.selectAllPublic = 'select * from c_swiper where type = 1 order by sort_count desc';

exports.selectAll = 'select * from c_swiper order by id desc limit ?,?';

exports.total = 'select count(id) as total from c_swiper';

exports.upLoad = 'insert into c_swiper set img_url = ?, sort_count = ?, url = ?, date = ?';

exports.updateType = 'update c_swiper set ? where id = ?';

exports.delete = 'delete from c_swiper where id = ?';

exports.selectById = 'select img_url from c_swiper where id = ?';



